package com.distribute.dao;

import com.distribute.entity.TOrder;
import com.distribute.entity.TOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TOrderMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(TOrderExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByExample(TOrderExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Long orderId);

    /**
     *
     * @mbggenerated
     */
    int insert(TOrder record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(TOrder record);

    /**
     *
     * @mbggenerated
     */
    List<TOrder> selectByExample(TOrderExample example);

    /**
     *
     * @mbggenerated
     */
    TOrder selectByPrimaryKey(Long orderId);

    /**
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") TOrder record, @Param("example") TOrderExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") TOrder record, @Param("example") TOrderExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(TOrder record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(TOrder record);
}